package com.example.demo.model;

import com.example.demo.config.base.DataModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Date;

@Entity(name = "edu_course_kpoint")
public class EduCourseKpoint extends DataModel {
    @Id
    @Column(name = "kpoint_id")
    private Integer kpointId;

    @Column(name = "course_id")
    private Integer courseId;

    @Column(name = "name")
    private String name;

    @Column(name = "parent_id")
    private Integer parentId;

    @Column(name = "add_time")
    private Date addTime;

    @Column(name = "sort")
    private Integer sort;

    @Column(name = "play_count")
    private Integer playCount;

    @Column(name = "is_free")
    private Integer isFree;

    @Column(name = "video_url")
    private String videoUrl;

    @Column(name = "replayUrl")
    private String replayUrl;

    @Column(name = "teacher_id")
    private Integer teacherId;

    @Column(name = "play_time")
    private String playTime;

    @Column(name = "kpoint_type")
    private Integer kpointType;

    @Column(name = "video_type")
    private String videoType;

    @Column(name = "file_type")
    private String fileType;

    @Column(name = "content")
    private String content;

    @Column(name = "page_count")
    private Integer pageCount;

    @Column(name = "live_begin_time")
    private Date liveBeginTime;

    @Column(name = "live_end_time")
    private Date liveEndTime;

    @Column(name = "intoLiveRoom")
    private String intoLiveRoom;

    @Column(name = "supplier")
    private String supplier;

    @Column(name = "openType")
    private String openType;

    @Column(name = "autoReplay")
    private Integer autoReplay;

    @Column(name = "maxUsers")
    private Integer maxUsers;

    public Integer getKpointId() {
        return kpointId;
    }

    public void setKpointId(Integer kpointId) {
        this.kpointId = kpointId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public void setPlayCount(Integer playCount) {
        this.playCount = playCount;
    }

    public void setIsFree(Integer isFree) {
        this.isFree = isFree;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public void setReplayUrl(String replayUrl) {
        this.replayUrl = replayUrl;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public void setPlayTime(String playTime) {
        this.playTime = playTime;
    }

    public void setKpointType(Integer kpointType) {
        this.kpointType = kpointType;
    }

    public void setVideoType(String videoType) {
        this.videoType = videoType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public void setLiveBeginTime(Date liveBeginTime) {
        this.liveBeginTime = liveBeginTime;
    }

    public void setLiveEndTime(Date liveEndTime) {
        this.liveEndTime = liveEndTime;
    }

    public void setIntoLiveRoom(String intoLiveRoom) {
        this.intoLiveRoom = intoLiveRoom;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public void setOpenType(String openType) {
        this.openType = openType;
    }

    public void setAutoReplay(Integer autoReplay) {
        this.autoReplay = autoReplay;
    }

    public void setMaxUsers(Integer maxUsers) {
        this.maxUsers = maxUsers;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public String getName() {
        return name;
    }

    public Integer getParentId() {
        return parentId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public Integer getSort() {
        return sort;
    }

    public Integer getPlayCount() {
        return playCount;
    }

    public Integer getIsFree() {
        return isFree;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public String getReplayUrl() {
        return replayUrl;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public String getPlayTime() {
        return playTime;
    }

    public Integer getKpointType() {
        return kpointType;
    }

    public String getVideoType() {
        return videoType;
    }

    public String getFileType() {
        return fileType;
    }

    public String getContent() {
        return content;
    }

    public Integer getPageCount() {
        return pageCount;
    }

    public Date getLiveBeginTime() {
        return liveBeginTime;
    }

    public Date getLiveEndTime() {
        return liveEndTime;
    }

    public String getIntoLiveRoom() {
        return intoLiveRoom;
    }

    public String getSupplier() {
        return supplier;
    }

    public String getOpenType() {
        return openType;
    }

    public Integer getAutoReplay() {
        return autoReplay;
    }

    public Integer getMaxUsers() {
        return maxUsers;
    }

}
